package com.ssm.dao;

import java.util.List;

import com.ssm.pojo.Position;

public interface PositionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Position record);

    int insertSelective(Position record);

    Position selectByPrimaryKey(Integer id);
    /**
     * 查询所有
     * @param skip
     * @param size
     * @return
     */
    List<Position> getAllPosition(int skip, int size);
    
    int getPositionCount();
    
    
    /**
     * 查询公司资金
     * @param skip
     * @param size
     * @return
     */
    
    
    List<Position> getmyPosition(int skip, int size, int cId );
    
  	int getmyPositionCount(int cId );
    
    int updateByPrimaryKeySelective(Position record);

    int updateByPrimaryKey(Position record);
}